Skip to content

Add monitoring networking prerequisites and configuration lookup - #3637

Open
ebariaux wants to merge 20 commits into
mainfrom
feature/monitoring-networking
Open

ebariaux wants to merge 20 commits into
mainfrom
feature/monitoring-networking

Conversation

@ebariaux

Copy link
Copy Markdown
Contributor

Adds the prerequisites for CloudFormation-managed customer monitoring networking (#3365):

  • Scoped customer provisioning role and templates for peering and routes on both sides.
  • Central SSM connection configuration lookup and validation.
  • Manual OIDC workflow that currently only reads configuration.

Manual setup completed:

  • Created core’s monitoring-network GitHub environment, restricted to main.
  • Deployed the configuration-reader, peering-acceptance, customer-provisioning and central-route IAM stacks.
  • Published the connection configuration in SSM.

Live GitHub OIDC/SSM validation follows this merge.

No existing peering or routes have been changed. Preview/Apply, migration and account-provisioning integration will follow in subsequent PRs.

@ebariaux
ebariaux requested a review from a team November 30, 2026 12:24
@denniskuijs
denniskuijs self-requested a review November 30, 2026 14:43
@denniskuijs denniskuijs self-assigned this Nov 30, 2026
@denniskuijs
denniskuijs removed the request for review from a team November 30, 2026 14:43
from pathlib import Path

result = json.loads((Path(os.environ["RUNNER_TEMP"]) / "monitoring-connection.json").read_text())
parameter = result["parameter"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I'm not a fan of using Python for this. I'd rather rewrite it in Bash.

import unittest
from pathlib import Path

import yaml

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I'm not a fan of using Python for this. I'd rather rewrite it in Bash. We should also look into AWS integration testing options that can run in our CI/CD pipeline using tools such as Floci (open source) or the recently launched AWS Emulator.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created an issue for introducing AWS integration tests (#3642)

import argparse
import json
import re
import subprocess

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I'm not a fan of using Python for this. I'd rather rewrite it in Bash.

env:
CONNECTION_NAME: ${{ inputs.ACCOUNT_NAME }}
run: |
python3 -B .ci_cd/aws/monitoring-network/connection.py "$CONNECTION_NAME" \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I'm not a fan of using Python for this. I'd rather rewrite it in Bash.

@ebariaux

ebariaux commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Python has been converted to bash for everything executed by workflows, but is still used for running tests locally.
I would propose to review that with your other more general issue on AWS testing / using Floci

@ebariaux
ebariaux requested a review from denniskuijs December 1, 2026 10:02
@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants